package com.kaili.db.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import com.kaili.pojo.entity.HsEwbsDispatch;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.kaili.pojo.entity.HsEwbsDispatchDetail;
import com.kaili.pojo.vo.DispatchRouteVO;
import com.kaili.pojo.vo.DispatchVO;
import com.kaili.pojo.vo.EwbDispatchVO;
import com.kaili.common.exception.BaseExcept;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface HsEwbsDispatchMapper extends BaseMapper<HsEwbsDispatch> {

    List<EwbDispatchVO> queryUndispatchEwbList(Map search)throws BaseExcept;

    List<DispatchVO> queryDispatchEwbList(Page<DispatchVO> page, Map search)throws BaseExcept;

    List<EwbDispatchVO> getEwbInfoByDispatchNo(Map<String, Object> search) throws BaseExcept;

    List<HsEwbsDispatchDetail> queryEwbDispatchDetail(Map<String, Object> search)throws BaseExcept;

    List<DispatchVO> exportDispatchQueryList(Map map);

    List<DispatchRouteVO> queryDispatchRouteList(Map map);

    //打印用
    List<DispatchVO> queryDispatchEwbList(Map map) throws BaseExcept;

}
